
package upcoming.client;

import java.util.*;

class Util
{
	public static String toString(List<String> list, char separator)
	{
		if (list.size() == 0)
		{
			return "";
		}
		
		StringBuffer sb = new StringBuffer();
		
		for (String s : list)
		{
			sb.append(s);
			sb.append(separator);
		}
		
		return sb.substring(0, sb.length() - 1);
		
	}
}
